import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/Home.vue';
import About from '../views/About.vue';
import Register from '../views/Register.vue';
import Login from '../views/Login.vue';
import Profile from '../views/Profile.vue';
import HealthData from '../views/HealthData.vue';
import Recommendations from '../views/Recommendations.vue';
import RiskPredictions from '../views/RiskPredictions.vue';
import Visualizations from '../views/Visualizations.vue';
import SocialFeatures from '../views/SocialFeatures.vue';

const routes = [
  { path: '/', name: 'Home', component: Home },
  { path: '/about', name: 'About', component: About },
  { path: '/register', name: 'Register', component: Register },
  { path: '/login', name: 'Login', component: Login },
  { path: '/profile', name: 'Profile', component: Profile },
  { path: '/healthdata', name: 'HealthData', component: HealthData },
  { path: '/recommendations', name: 'Recommendations', component: Recommendations },
  { path: '/riskpredictions', name: 'RiskPredictions', component: RiskPredictions },
  { path: '/visualizations', name: 'Visualizations', component: Visualizations },
  { path: '/socialfeatures', name: 'SocialFeatures', component: SocialFeatures },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
